package util

import redis.clients.jedis.JedisPool

object JedisPools {
  val pool = new JedisPool()
  def getJedis(id:Int)={
    val jedis = pool.getResource()
    jedis.select(id)
    jedis
  }
}
